package cn.topevery.garden.entity.dto;

import cn.topevery.garden.entity.po.InteractPlatformFile;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 互动平台 DTO
 *
 * @author code-generate
 * @date 2022-02-18
 */
@Data
@ApiModel(value = "InteractPlatformDTO", description = "互动平台 DTO")
public class InteractPlatformDTO implements Serializable {
    /**
     * 自增id
     */
    private Integer id;

    /**
     * 发送人ID
     */
    @ApiModelProperty(value = "发送人ID")
    private String senderId;

    /**
     * 发送人昵称
     */
    @ApiModelProperty(value = "发送人昵称")
    private String senderName;

    /**
     * 接收人ID
     */
    @ApiModelProperty(value = "接收人ID")
    private String receiveId;

    /**
     * 接收人昵称
     */
    @ApiModelProperty(value = "接收人昵称")
    private String receiveName;

    /**
     * 发送内容
     */
    @ApiModelProperty(value = "发送内容")
    private String content;

    /**
     * 发送的附件url
     */
    @ApiModelProperty(value = "发送的附件url")
    private String fileUrl;

    @ApiModelProperty(value = "关联id")
    private Integer relId;

    private Integer treeId;


    private String treeCode;

    private String treeName;

    private String phone;

    private String deptId;

    private String evtId;

    @ApiModelProperty(value = "附件")
    private List<InteractPlatformFile> fileList;
}
